package com.example.demo_text;

import java.sql.Timestamp;

public class Answer {
    private int ansId;
    private int questionId;
    private String answerContent;
    private Timestamp answerTime;

    // Getters and Setters
    public int getAnsId() { return ansId; }
    public void setAnsId(int ansId) { this.ansId = ansId; }

    public int getQuestionId() { return questionId; }
    public void setQuestionId(int questionId) { this.questionId = questionId; }

    public String getAnswerContent() { return answerContent; }
    public void setAnswerContent(String answerContent) { this.answerContent = answerContent; }

    public Timestamp getAnswerTime() { return answerTime; }
    public void setAnswerTime(Timestamp answerTime) { this.answerTime = answerTime; }
}
